package com.dycx.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class UserInfoVO implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer uid;

    private Integer credit;

    private String nickname;

    private String avatar;

    /**
     * 毕业院校
     */
    private String school;

    private Integer sex;

    /**
     * 出生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDateTime birthday;

    /**
     * 自我介绍
     */
    private String selfIntroduction;

    /**
     * 试用次数
     */
    private Integer tryNum;

    /**
     * 省
     */
    private Integer provinceCode;
    private String provinceName;

    /**
     * 市
     */
    private Integer cityCode;
    private String cityName;

    /**
     * 县
     */
    private Integer districtCode;
    private String districtName;

    /**
     * 镇
     */
    private Integer streetCode;
    private String streetName;

    /**
     * 商圈名称
     */
    private String businessName;

    /**
     * 详细地址
     */
    private String address;

    /**
     * 经度
     */
    private String lng;

    /**
     * 纬度
     */
    private String lat;

    /**
     * 保证金
     */
    private Integer securityDeposit;

    /**
     * 余额
     */
    private Integer accountBalance;

    /**
     * 提现金额
     */
    private Integer withdrawalAmount;

    /**
     * 管理员id
     */
    private Integer adminId;

}
